home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / GDIPRINT.PAK / README.TXT < prev    next >
Text File  |  1997-05-06  |  3KB  |  62 lines

  1. GDIPrint - Based on GDIDIB
  2.  
  3. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  4. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  5. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  6. PARTICULAR PURPOSE.
  7.  
  8. Copyright (C) 1993 - 1995  Microsoft Corporation.  All Rights Reserved.
  9.  
  10.  
  11. PURPOSE:
  12.     Demonstrates printing of DIBs.
  13.  
  14. USES:
  15.     Bitmap creation, editing, storage, retrieval and printing.
  16.  
  17. COMMENTS:
  18.     This is a 32-bit only sample.
  19.  
  20.     ********** Metafile functionality to be included in future release **********
  21.  
  22.     Note that the dialog for selecting pen and brush colors will allow
  23.     the selection of colors not contained in the color table of the
  24.     DIBSection bitmap when the bitmap is in 1bpp or 4bpp format and the
  25.     display device supports more colors than are in the color table.
  26.     Objects painted with the pen or brush will initially appear in the
  27.     selected color, but when the image is refreshed from the bitmap in the
  28.     memory DC, the objects will assume colors in the bitmap's color table
  29.     that are mapped from the original colors using the nearest color
  30.     algorithm. These are the colors that are actually stored in the bitmap.
  31.  
  32. MODULE MAP:
  33.     Dispatch- Message dispatching routines
  34.     WinMain - Calls initialization functions and processes the message loop
  35.     GDIPrint- Implements the windows procedure for the main application window
  36.     Init    - Performs application and instance specific initialization
  37.     About   - Defines a standard about dialog box.
  38.     Misc    - Defines the applications specific commands not related to
  39.                 a specific module.
  40.     ToolBar - Creates the toolbar and processes ToolTips notifications.
  41.     StatBar - Creates and manages the status bar.
  42.     Client  - Implements the window procedure for a child window
  43.                 that displays either an initialized bitmap or one loaded
  44.                 from disk file, and performs all drawing on the bitmap.
  45.     PenDlg  - Dialog box for choosing the pen style used for drawing.
  46.     BrushDlg- Dialog box for choosing the brush style used for
  47.                 filling objects.
  48.     ColorDlg- Dialog box for choosing a color from the system palette
  49.                 when running GDIPrint on a palette-based device.
  50.     PalCtrl - Implements a custom control for displaying and selecting
  51.                 colors from the current system palette.
  52.     Palette - Implements palette manager-related routines such as
  53.                 handlers for palette messages.
  54.     InfoDlg - Dialog box for displaying some basic color and palette
  55.                 information regarding the display device.
  56.     DIBUtil - Contains various routines for manipulating DIBs.
  57.     FileDlg - Implements dialogs for File Save, Save As and Close.
  58.     FileIO  - Implements code to read and write DIB disk files.
  59.     FileNew - Implements code to create a new DIB.
  60.     Print   - Implements code to print a DIB.
  61.  
  62.